package com.dmall.sort.com.dmall.heap;

public interface Heap<E> {
    int size();
    boolean isEmpty();
    void add(E e);
    E extract();
    E peek();
}
